package com.rmb.service.impl;

import com.rmb.common.model.response.ResponseResult;
import com.rmb.entity.EtlDataEngine;
import com.rmb.entity.EtlDataEngineVoResult;
import com.rmb.service.EtlDataEngineService;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wan
 */
@Component
public class EngIneHystrixImpl implements EtlDataEngineService {

    @Override
    public EtlDataEngine queryById(Long id) {
        System.out.println("异常");
        return null;
    }

    @Override
    public List<EtlDataEngine> queryAllByLimit(int offset, int limit) {
        System.out.println("异常");
        return null;
    }

    @Override
    public EtlDataEngine insert(EtlDataEngine etlDataEngine) {
        System.out.println("异常");
        return null;
    }

    @Override
    public ResponseResult deleteById(Long id) {
        System.out.println("异常");
        return null;
    }

    @Override
    public EtlDataEngine getEngineId(Long id) {
        System.out.println("异常");
        return null;
    }

    @Override
    public ResponseResult compile(Long id, String compileJava) {
        System.out.println("异常");
        return null;
    }

    @Override
    public ResponseResult updateEtlDataEngine(EtlDataEngine etlDataEngine) {
        System.out.println("异常");
        return null;
    }

    @Override
    public List<EtlDataEngineVoResult> list(int page, int size, String engineName, String engineTypeId, String codeType) {
        System.out.println("异常");
        return null;
    }

    @Override
    public EtlDataEngine findById(Long id) {
        System.out.println("异常");
        return null;
    }

    @Override
    public int compileJava(Long id, String javaString) {
        System.out.println("异常");
        return 0;
    }
}
